﻿using System;

namespace Fuse8.DomainFramework.Domain
{
    /// <summary>
    /// 
    /// </summary>
    public interface IEntityObject
    {
        /// <summary>
        /// Parameter used for dynamic invocation
        /// </summary>
        string TypeParameter { get; }

        /// <summary>
        /// 
        /// </summary>
        string EntityIdentfier { get; }

        /// <summary>
        /// Object is newly created
        /// </summary>
        bool IsNew { get; }

        /// <summary>
        /// Object is exist in data store
        /// </summary>
        bool IsCreated { get; } 
    }
}
